Skip to content

Check if filenames of the .csr .cnf pair match existing cert#27

Merged
gene1wood merged 2 commits intomozilla:mainfrom
gene1wood:check_for_already_issued_duplicate_crt
Dec 15, 2025
Merged

Check if filenames of the .csr .cnf pair match existing cert#27
gene1wood merged 2 commits intomozilla:mainfrom
gene1wood:check_for_already_issued_duplicate_crt

Conversation

@gene1wood
Copy link
Collaborator

This checks if filenames of the .csr .cnf pair match a pre-existing issued cert in the certs_issued directory

  • Add new check_for_matching_issued_cert method which checks to see if there is an existing cert which matches the .cnf/.csr
  • Factor out get_ca_cert_filename_on_usb from pull_from_stick
  • Move the check completed output to the check function

Fixes #16

This checks if filenames of the `.csr` `.cnf` pair match a pre-existing issued cert in the `certs_issued` directory

* Add new `check_for_matching_issued_cert` method which checks to see if there is an existing cert which matches the `.cnf`/`.csr`
* Factor out `get_ca_cert_filename_on_usb` from `pull_from_stick`
* Move the check completed output to the check function
@gene1wood gene1wood merged commit 1a0fc4b into mozilla:main Dec 15, 2025
3 checks passed
@gene1wood gene1wood deleted the check_for_already_issued_duplicate_crt branch December 15, 2025 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check if filenames of the .csr .cnf pair match a pre-existing issued cert in the certs_issued directory

1 participant